package com.hao.nettytest.dto;

import java.io.Serializable;

public class MessageDto implements Serializable {

    //用户ID
    private String userID;


    //消息
    private String msgContent;

    //在线人数
    private int userCount;


    public MessageDto() {
    }

    public MessageDto(String UserID, String msgContent) {
        this.userID=userID;
        this.msgContent = msgContent;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getMsgContent() {
        return msgContent;
    }

    public void setMsgContent(String msgContent) {
        this.msgContent = msgContent;
    }

    public int getUserCount() {
        return userCount;
    }

    public void setUserCount(int userCount) {
        this.userCount = userCount;
    }
}

